package com.smartwebx.fr.dao.mysql;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.smartwebx.fr.bean.mysql.PagePoint;

public interface PagePointMapper {
	int deleteByPrimaryKey(String id);

	int insert(PagePoint record);

	int insertSelective(PagePoint record);

	PagePoint selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(PagePoint record);

	int updateByPrimaryKeyWithBLOBs(PagePoint record);

	int updateByPrimaryKey(PagePoint record);

	@Select("select DISTINCT id from page_point where page_id=#{pageId}")
	List<String> getPointsByPageId(@Param("pageId")Integer pageId);
}